# TODO 设计根据QQ和密码登录的过程(QQ和密码预设为指定的值). 执行结果为登录是否成功(boolean类型的值)
def qq_login():
    user = '654321'
    password = '123456'

    new_user = input('QQ:')
    new_password = input('密码:')

    if user == new_user and password == new_password:
        return  True
    else:
        return False

if qq_login():
    print('登陆成功')
else:
    print('登陆失败')